package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.*;
import com.vf.admin.miaodong.entity.*;
import com.vf.admin.miaodong.service.AfterFeedbackRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 举报
 */
@Service
public class AfterFeedbackServiceImpl implements AfterFeedbackRecordService {
    @Autowired
    private AfterFeedbackDao afterFeedbackDao;

    /**
     * 查询列表
     */
    @Override
    public List<AppFeedback> findList(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return afterFeedbackDao.findList(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppFeedback get(Integer id) {
        return afterFeedbackDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppFeedback haoYou) {
        afterFeedbackDao.save(haoYou);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterFeedbackDao.del(id);
    }

    /**
     * 状态处理改变
     */
    @Override
    public void chuli(Integer id,String remark) {
        afterFeedbackDao.chuli(id,remark);
    }
}
